package com.example.webservice.entity;

import lombok.Data;

import javax.xml.bind.annotation.*;
import java.util.List;

@Data
@XmlRootElement(name="return")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(propOrder={"status","message","reason","api"})
public class KpiRes {

    /** success/failure **/
    @XmlElement(name="status")
    private String status;

    /** 执行的结果提示 **/
    @XmlElement(name="message")
    private String message;

    /** 出错的原因 **/
    @XmlElement(name="reason")
    private String reason;

    /** 指标名称列表 **/
    @XmlElement(name="api")
    private List<ApiValue> api;
}
